﻿using ASmile.Com.Menu;
using ASmile.DBModel;

namespace ASmile.Com
{
    public interface IMenuBLL
    {
        ApiResult<string> AddMenu(Sys_Menu model);
        ApiResult<string> AddTree(Sys_Menu m);
        ApiResult DelMenu(Sys_Menu model);
        ApiResult DelTree(Sys_Menu m);
        ApiResult<string> EditMenu(Sys_Menu model);
        ApiResult<string> EditTree(Sys_Menu m);
        ApiResultList<Sys_Menu> GetAllMenus();
        ApiResultList<Sys_Menu> GetMenus(ArgSearchMenu arg);
        ApiResultList<Sys_Menu> GetTreeData();
        ApiResult SetOrderNo(ArgSetSortNo arg);
        ApiResult SetParent(ArgSetParent arg);
        ApiResult SwapOrderNo(ArgSwapOrderNo arg);
    }
}